<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="${staticServer}/inc/style/main.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/page.css" />
<link rel="stylesheet" href="${staticServer}/work_today.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/date/datepicker.css" />
<link rel="stylesheet" href="${staticServer}/consultant_client_tracking.css" />
<script src="${staticServer}/inc/js/jquery.js"></script>
<script src="${staticServer}/inc/js/pageset.js"></script>
<script src="${staticServer}/inc/js/model_resp.js"></script>
<script src="${staticServer}/inc/js/datepicker.js"></script>
<script src="${staticServer}/inc/js/htmlfilter.js"></script>
<script src="${staticServer}/inc/js/submitter.js"></script>
<script src="${staticServer}/inc/js/tips.js"></script>
<script src="${staticServer}/consultant_client_remark.js?1.0"></script>
<script src="${staticServer}/consultant_client_tracking_list.js?1.5"></script>
<script>
//var infopad = parent.infopad;
$("body").ready(function(){
	$("#source").val("");
});

function starquery(type)
{
	if(type==0)
	{
		var key = $("#condition").val();
		var sdate = $("#start_date").val();
		var edate = $("#end_date").val();
		var client = $("#client").val();
		var student = $("#student").val();
		var phone = $("#phone").val();
		var email = $("#email").val();
		var qq = $("#qq").val();
		var source = $("#source").val();
		
		var url_ps = param( location.href );
		var param_url = [];
		if(!empty(key)) param_url.push( "key=" + key );
		if(!empty(url_ps.state)) param_url.push( "state=" + url_ps.state );
		if(!empty(sdate)) param_url.push("sdate=" + sdate);
		if(!empty(edate)) param_url.push("edate=" + edate);

		if(!empty(client)) param_url.push("client=" + client);
		if(!empty(student)) param_url.push("student=" + student);
		if(!empty(phone)) param_url.push("phone=" + phone);
		if(!empty(email)) param_url.push("email=" + email);
		if(!empty(qq)) param_url.push("qq=" + qq);
		if(!empty(source)) param_url.push("source=" + source);
	
		location.href = "?" + param_url.join("&");
	}
	else
	{
		location.href = "?";
	}
}
</script>
</head>

<body>
	<div id="home_link">
		<ul>
			<li></li>
			<li>&gt;</li>
			<li>咨询师模块</li>
			<li>&gt;</li>
			<li class="current"></li>
		</ul>
	</div>
	<div id="caption">
		<ul>
			<li><span class="title">操作提示：</span></li>
			<li>点击“最后状态”列表中的某一项，可以筛选出包含此状态的跟踪记录</li>
			<li style="background: #DFDFFF; padding: 2px 20px 2px 20px;">已预约</li>
			<li style="background: #D8FFB2; padding: 2px 20px 2px 20px;">已测评</li>
			<li style="background: #B5FCB5; padding: 2px 20px 2px 20px;">已缴费</li>
		</ul>
	</div>
	<div id="container">
		<div id="title"></div>
		<table class="simple_table" rel="nohover" style="min-width: 750px;">
			<tr>
				<td><label for="client">客户名字：</label> <input type="text" id="client" size="15" placeholder="客户名字"
					value="" /> <label for="user">学员名字：</label> <input type="text" id="student" size="15"
					value="" placeholder="学员名字" /> <label for="phone">来源渠道：</label>
                    <select id="source"><option value="">-- 请选择 --</option><option value="cru0943rdrf2" title="" id="tfde36ttzpqh">未知</option><option value="nupd5182xxsl" title="">网站问卷</option><option value="l6xdybjjrcjc" title="">手机问卷</option><option value="czhi7pjiadhu" title="">19楼问卷</option><option value="l6e69n6t0xdf" title="">微博问卷</option><option value="osjrem0am5af" title="">微博粉丝通问卷</option><option value="eyxl17rri7xu" title="">搜狗搜索</option><option value="jd2q59wq41ed" title="" id="fyive61idvil">百度搜索</option><option value="251mokab1mtn" title="">百度网盟</option><option value="l0j9fitg3t94" title="" id="u9o5azxnt9mm">百度自然搜索</option><option value="cwo3dhreyo3g" title="">百度知道</option><option value="hcat5zqt7jta" title="">百度教育</option><option value="zgviq7wj9j0p" title="">360搜索</option><option value="pmvk5vdc6ity" title="" id="z9nnyms8y3go">商桥其它</option><option value="3p5idbdw49di" title="">公益讲座</option><option value="nmeq3ambzitw" title="">培训通</option><option value="k4jmt5lbp8ne" title="">400电话</option><option value="09ceooqhs782" title="">广告推广</option><option value="dz6favkfbcpb" title="" id="e8iaprira6kl">上门咨询</option><option value="ka3e06t6qqni" title="">本地电话</option><option value="wxc7hq1lln1y" title="">家长转介绍</option><option value="iwpby6xld7x1" title="">淘宝旺旺</option><option value="txrf7rjlaq0n" title="">返学费网</option><option value="3uz0gyx626dp" title="">搜学校网</option><option value="0n2njx5zmzvo" title="">网站留言</option><option value="ct5yq4jhc6c7" title="">市场部推广</option><option value="oaw3mfz6l521" title="">哈哈儿童网</option><option value="oymhrrozjjqq" title="">直接访问</option><option value="lyx063wpay9l" title="">百度推广</option><option value="ro9iszkillrp" title="">微信问卷</option><option value="c0lnj8or2mrr" title="">报纸广告</option><option value="5a2l1xsq7dcp" title="">已测试</option><option value="pcalex0wpcy3" title="">网站手机抓取</option><option value="k3i6bvxdlm2d" title="">QQ老资料</option><option value="895q48oh4jpp" title="">百度贴吧</option><option value="gx50j0s9hrr1" title="">传单派发</option><option value="edhhjon7t6za" title="">商桥留言</option><option value="13b6lzltt0xk" title="">网站报名</option><option value="v04u5uv2490h" title="">新浪扶翼</option><option value="8yjy5cw5w5x0" title="">网络部推广</option><option value="fu9d8zgsndne" title="">内部推荐</option><option value="3qttf7j4ydu3" title="">东书房合作</option><option value="ewk5wys8ylqa" title="">电销部门</option><option value="cwfxxia9nn3l" title="">上海外呼诺访</option><option value="96tcllg3xk21" title="">58同城</option><option value="cxn6ozuszles" title="">赶集网</option><option value="wtukdq8gp65h" title="">市场部问卷</option><option value="frvmppoifgmb" title="">今日头条广告</option><option value="kip4mcx4i9bf" title="">远播网</option><option value="udfjjispr43w" title="">淘宝咨询</option><option value="kzpctoxsbclx" title="">百度推课</option><option value="dbmtj1jhld70" title="">淘宝推广</option><option value="kk51qfgzk1rq" title="">教育联展网</option></select>
                    </td>
				<td rowspan="3"><input type="button" value=" 查 询 " onclick="starquery(0)" /> <input type="button" value=" 重 置 "
					onclick="starquery(1)" /></td>
			</tr>
			<tr>
				<td width="670"><label for="phone">联系电话：</label> <input type="text" id="phone" size="15" placeholder="客户联系电话"
					value="" /> <label for="qq">ＱＱ号码：</label> <input type="text" id="qq" size="15"
					placeholder="QQ号码" value="" /> <label for="email">Email：</label> <input type="text" id="email"
					size="28" placeholder="Email地址" value="" /></td>
			</tr>
			<tr>
				<td width="670"><label for="start_date">起始日期：</label> <input type="text" name="start_date" id="start_date" size="15"
					value="" rel="DATE::Y-m-d" /> <label for="end_date">终止日期：</label> <input type="text"
					name="end_date" id="end_date" size="15" value="" rel="DATE::Y-m-d" /></td>
			</tr>
		</table>
		<table id="tbl_tracking" rel="nohover">
			<tr class="fields">
				<th>客户姓名</th>
				<th>学员</th>
				<th>负责人</th>
				<th>所在地</th>
				<th>渠道</th>
				<th>类别</th>
				<th>联系方式</th>
				<th>备注信息</th>
				<th width="100">状态</th>
				<th>操作</th>
			</tr>
			
			<tr rel="data_row" class="even_row">
				<td align="center" class="stress">王妈妈<em class="valid">（有效）</em></td>
				<td align="center">杨沁<span class="caption">(9岁)</span></td>
				<td align="center">何梅</td>
				<td align="center">浙江-宁波</td>
				<td align="center">网站问卷</td>
				<td align="center">学员客户</td>
				<td align="center"><a title="" id="mi9ube3rkh4z"><em class="caption">电话：</em>15968900200</a></td>
				<td class="breakall" width="120"><div contenteditable="true" rel="MODIFY::c95a8d5e60520598823add274648c483da50ac45"></div></td>
				<td align="center" rel="statelist"><p style="margin:2px 0 2px;"><a class="stateitem" rel="n4f79h2giie6">意向一般</a></p></td>
				<td align="center"><a href="consultant_client_tracking.html">跟踪</a> - <a href="consultant_client_view.html">详细信息</a></td>
			</tr>
			<tr>
				<td colspan="10"><p class="rect">
					暑假家长自己有事情，没有办法来接送。要下半年再考虑。<br><span class="caption">2016-07-07 16:15:02</span>				</p></td>
			</tr>
			
		</table>
	</div>

	<div id="pager" style="width: 820px;"><ul id="pagination"><li class="first-off">首页</li><li class="previous-off">上一页</li><li class="current">1</li><li><a href="?page=2">2</a></li><li class="next"><a href="?page=2">下一页</a></li><li class="end"><a href="?page=2">尾页</a></li><li><input type="text" id="btn_page_jump" size="10" style="height:25px;line-height:25px;" placeholder="跳转页数" onkeyup="if(window.event.which==13){var us=param(location.href);var ua=[];us['page']=parseInt(this.value);for(var n in us){ua.push(n+'='+us[n])}location.href='?'+ua.join('&amp;');}"></li><li class="pageinfo">1/2，共24条记录</li></ul></div>
	<div class="emptyline"></div>
</body>
</html>